import { CardDataCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";

/** Card 自定义组件,前后端交互json格式: **/
const CARD_158 = {
  ..._.cloneDeep(CardDataCommonDefault),
  "created_at": "Mon Nov 02 14:09:55 +0800 2020",
  "card_type": 158,
  "id": 4566816633129644,
  "idstr": "4566816633129644",
  "mid": "4566816633129644",
  "scheme": "",  // sinaweibo:\/\/chatroom?container_id=2321324566816293781569&live_id=1022:2321324566816293781569&width=720&height=1280&livetype=wblive&cover=https%3A%2F%2Ftvax4.sinaimg.cn%2Fcrop.0.0.1080.1080.1024%2F4eb305c7ly8gagsmpryilj20u00u0tb6.jpg%3FKID%3Dimgbed%2Ctva%26Expires%3D1604308194%26ssig%3D01OW5snHbl
  "pic_info": {  //背景图片，目前取的pic_middle数据
    "pic_middle": {
      "width": 346,
      "height": 460,
      "url": ""  // https:\/\/tvax4.sinaimg.cn\/crop.0.0.1080.1080.1024\/4eb305c7ly8gagsmpryilj20u00u0tb6.jpg?KID=imgbed,tva&Expires=1604308194&ssig=01OW5snHbl
    },
    "pic_small": {
      "width": 346,
      "height": 460,
      "url": ""  // https:\/\/tvax4.sinaimg.cn\/crop.0.0.1080.1080.1024\/4eb305c7ly8gagsmpryilj20u00u0tb6.jpg?KID=imgbed,tva&Expires=1604308194&ssig=01OW5snHbl
    },
    "pic_big": {
      "width": 346,
      "height": 460,
      "url": ""  // https:\/\/tvax4.sinaimg.cn\/crop.0.0.1080.1080.1024\/4eb305c7ly8gagsmpryilj20u00u0tb6.jpg?KID=imgbed,tva&Expires=1604308194&ssig=01OW5snHbl
    }
  },
  "label_bottom_right": [
    //右下角文字 + icon
    {
      "right_icon": "",
      "right_icon_dark": "",
      "icon_text_margin": 2, // 文字距离图片的距离
      "text": "4万",
      "text_color": "#FFFFFF", // 字体颜色
      "text_bold": 0,
      "text_color_tone": 1, // 字体透明度
      "text_color_dark": "#FFFFFF",
      "text_color_dark_tone": 0.90000000000000002220446049250313080847263336181640625,
      "text_size": 10,
      "bg_startcolor": "", // 外边框渐变色，都有值说明有外边框
      "bg_startcolor_dark": "",
      "bg_endcolor": "",
      "bg_endcolor_dark": "",
      "text_tb_margin": 1,  // 文字距离边框的上下边距
      "text_lr_margin": 1, // 文字距离边框的左右边距
      "radius": 1 // 边框圆角
    }
  ],
  "label_bottom_left": [
    // 左下角文字 + icon，自下向上
    {
      "text": "BIGBIG张大大",
      "right_icon": "",  // 文字右边icon https:\/\/h5.sinaimg.cn\/upload\/108\/1438\/2020\/08\/26\/gold_vip.png
      "right_icon_dark": "",  // https:\/\/h5.sinaimg.cn\/upload\/108\/1438\/2020\/08\/26\/gold_dark.png
      "icon_text_margin": 4,
      "text_color": "#FFFFFF",
      "text_bold": 0,
      "text_color_dark": "#FFFFFF",
      "text_color_tone": 1,
      "text_color_dark_tone": 0.90000000000000002220446049250313080847263336181640625,
      "text_size": 12,
      "text_shadow_color": "#64000000", // 字体阴影颜色
      "text_shadow_color_dark": "#64000000",
      "bg_startcolor": "",
      "bg_startcolor_dark": "",
      "bg_endcolor": "",
      "bg_endcolor_dark": "",
      "text_tb_margin": 0,
      "text_lr_margin": 4,
      "radius": 2
    },
    {
      "left_icon": "",
      "icon_text_margin": 4,
      "text": "这次我和“黑粉”一起过生日，要来看看吗？[吃瓜]#微博live秀#  ​",
      "text_color": "#FFFFFF",
      "text_bold": 1,
      "text_color_dark": "#FFFFFF",
      "text_color_tone": 1,
      "text_color_dark_tone": 0.90000000000000002220446049250313080847263336181640625,
      "text_size": 14,
      "text_shadow_color": "#64000000",
      "text_shadow_color_dark": "#64000000",
      "bg_startcolor": "",
      "bg_startcolor_dark": "",
      "bg_endcolor": "",
      "bg_endcolor_dark": "",
      "text_tb_margin": 0,
      "text_lr_margin": 4,
      "radius": 2
    },
    {
      "left_icon": "",  // https:\/\/s1.ax1x.com\/2020\/11\/03\/ByFPU0.png
      "left_icon_ab1": "",  // 文字左边icon (高度和外边距高度相等，宽度等高，默认忽略左侧text_lr_margin和icon_text_margin) https://s1.ax1x.com/2020/11/03/ByL3qS.png
      "left_icon_dark": "",  // https:\/\/h5.sinaimg.cn\/upload\/108\/1438\/2020\/10\/21\/shop.png
      "left_icon_dark_ab1": "",  // https:\/\/h5.sinaimg.cn\/upload\/108\/1438\/2020\/10\/21\/shop.png
      "icon_text_margin": 0,
      "text": "卖货中20x",
      "text_bold": 1,
      "text_color": "#FFFFFFFF",
      "text_color_dark": "#E5FFFFFF",
      "text_color_tone": 1,
      "text_color_dark_tone": 0.90000000000000002220446049250313080847263336181640625,
      "text_size": 12,
      "bg_startcolor": "#4D000000",  // 是否有值判断边框是否存在，边框起始和终止的颜色判断
      "bg_endcolor": "#4D000000",
      "bg_startcolor_dark": "#4D000000",
      "bg_endcolor_dark": "#4D000000",
      "text_tb_margin": 4,
      "text_lr_margin": 4,
      "radius": 2
    }
  ],
};

export default CARD_158;
